package com.qfedu.meidijiaju.controller;

import com.qfedu.meidijiaju.service.LeftService;
import com.qfedu.meidijiaju.service.StrongService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@Api(tags = "离家模块")
@RestController
@RequestMapping("/left")
public class LeftController {
    @Autowired
    private LeftService leftService;
    @GetMapping("/allLeft")
    public List allLeft(){
        return leftService.allLeft();
    }
}